OTP\Handler\Forms\MoWCCheckoutNew B

Total Complexity 77
Dependencies 12
Dependents 0
Total lines 583
Lines of code 351
Logical lines of code 166
Comment lines 174
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
handle_form()
A
47 9 32
handle_form_options()
A
49 8 30
enqueue_script_on_page()
S
52 5 23
my_custom_checkout_field_process()
S
53 5 23
checkIntegrity()
S
55 5 22
send_otp()
S
55 4 20
has_shipping_methods()
S
56 4 18
get_woocommerce_shipping_address_setting()
S
63 4 11
add_custom_popup()
S
49 2 41
processEmail()
S
63 4 10
process_phone_number()
S
63 4 10
checkIntegrityAndValidateOTP()
S
56 2 20
get_phone_number_selector()
S
70 3 6
process_email_and_send_otp()
S
59 2 15
process_phone_and_send_otp()
S
60 2 14
processFormAndValidateOTP()
S
61 2 13
isPaymentVerificationNeeded()
S
78 2 3
handle_otp_token_submitted()
S
68 2 7
__construct()
S
59 1 14
unset_otp_session_variables()
S
80 1 3
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3
isGuestCheckoutOnlyEnabled()
S
86 1 2
getPaymentMethods()
S
82 1 3
isPopUpEnabled()
S
86 1 2
isSelectivePaymentEnabled()
S
82 1 3